0ae344a243c8fdf4e98fe257a7b1b6f76dd35f3c,mapillary/src/org/openstreetmap/josm/plugins/mapillary/gui/HyperlinkLabel.java,LinkPopUp,LinkPopUp,#String#,112

Before Change



    LinkPopUp(final String key) {
      this.copy = new JMenuItem(tr("Copy key"));
      this.copy.addActionListener(new ActionListener() {
        @Override
        public void actionPerformed(ActionEvent paramActionEvent) {
          Toolkit.getDefaultToolkit().getSystemClipboard().setContents(new StringSelection(key), null);
        }
      });
      add(this.copy);

      this.copyTag = new JMenuItem(tr("Copy key tag"));

After Change



    LinkPopUp(final String key) {
      this.copy = new JMenuItem(tr("Copy key"));
      this.copy.addActionListener(paramActionEvent -> Toolkit.getDefaultToolkit().getSystemClipboard().setContents(new StringSelection(key), null));
      add(this.copy);

      this.copyTag = new JMenuItem(tr("Copy key tag"));